from django.urls import re_path, path
from . import views
urlpatterns = [
    #/usernames/yanziliang/count/
    path('usernames/<username:username>/count/', views.UsernameCountView.as_view()),
    #/mobiles/13519276774/count/
    path('mobiles/<mobile:phone>/count/', views.UserPhoneView.as_view()),
    #register/
    path('register/', views.UserRegister.as_view()),
    #/login/
    path('login/', views.LoginView.as_view()),
    #/logout/
    path('logout/', views.LogoutView.as_view()),
    #/info/
    path('info/', views.UserInfoView.as_view()),
    #/emails/
    path('emails/', views.EmailView.as_view()),
    #emails/verification/
    path('emails/verification/', views.VerifyEmailView.as_view())

]
